package ${package}.service;

import ${package}.dto.${model}Dto;
import ${package}.model.${model};
import java.util.List;
import com.github.pagehelper.PageInfo;

/**
 * Created by util on ${now?date}.
 */
public interface ${model}Service {

    boolean insert${model}(${model}Dto ${model?uncap_first}Dto);

    boolean delete${model}(${model}Dto ${model?uncap_first}Dto);

    boolean update${model}(${model}Dto ${model?uncap_first}Dto);
    
    ${model} select${model}ById(${model}Dto ${model?uncap_first}Dto);

    List<${model}> select${model}List(${model}Dto ${model?uncap_first}Dto);
    
    PageInfo select${model}Page(${model}Dto ${model?uncap_first}Dto);
}